
function fnNameOK() {
   strName=document.frmDetails.txtName.value
   if((strName=="")||!isNaN(strName)) {return false}
   else {return true}
}   
function fnEmailOK() {
   strEmail=document.frmDetails.txtEmail.value
   if((strEmail=="")|| !isNaN(strEmail)) {
   /* alert("email"); */
   return false;}
   else {return true}
}  
function fnPostCodeOK() {
   strPostCode=document.frmDetails.txtPostCode.value
   if((strPostCode=="")|| isNaN(strPostCode) || (strPostCode.length)!=5) {return false}
   else {return true}
} 
function fnCheckOK() {
   if(fnNameOK() && fnEmailOK() && fnPostCodeOK()) {
      document.frmDetails.message.value="The following information has been submitted:"
       +"\r\r"+strName+"\r"+strEmail+"\r"+strPostCode; }
   else {alert("You have entered bad information into one or more fields");
   }
}

